public class test13 {
    public static void main(String[] args) {
        int a = 100;
        int b = 5;
        int count=0;
        while(a>=b){
            a=a-b;
            count++;
        }
        System.out.println(a);
        System.out.println(count);
    }
}
